// Node.js 与 javascript相同点
/*
var a = 100;
console.log(a);

*/

/*
时间类型
var b = new Date();
console.log(b);
console.log(b.getFullYear());
console.log(b.getMonth() + 1);
*/

/*
数组
var arr = [1,2,3];
arr.push(4);
console.log(arr);
*/

/*
对象
function Peron(name) {
    this.name = name;
}
Peron.prototype.run = function () {
    console.log(this.name + ' running');
}

var p1 = new Peron('binges');
p1.run();
*/









